package com.wy.allthingdone.activity;

import android.net.Uri;
import android.os.Bundle;
import android.widget.ImageView;

import com.wy.allthingdone.R;

import org.xutils.view.annotation.ViewInject;

import java.io.File;

public class ImageViewActivity extends BaseActivity {
    @ViewInject(R.id.imageView)
    ImageView imageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_image_view);
        super.onCreate(savedInstanceState);
        imageView.setImageURI(Uri.fromFile(new File(getIntent().getStringExtra("data"))));
    }
}
